-
Home
-
PDF Invoices & Packing Slips for WooCommerce
-
4.5.2 (latest)
-
Code
-
Classes
- Semaphore
Total Complexity |
49 |
Dependencies |
2 |
Dependents |
4 |
Total lines |
444 |
Lines of code |
218 |
Logical lines of code |
106 |
Comment lines |
164 |
Methods |
16 |
Properties |
9 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
lock() |
A |
43 |
8 |
55 |
get_cleanup_action() |
S |
52 |
6 |
24 |
log() |
S |
60 |
6 |
13 |
__construct() |
S |
65 |
5 |
7 |
schedule_semaphore_cleanup() |
S |
59 |
4 |
13 |
ensure_database_initialised() |
S |
52 |
3 |
26 |
is_cleanup_scheduled() |
S |
62 |
3 |
11 |
release() |
S |
59 |
2 |
15 |
count_released_locks() |
S |
62 |
2 |
11 |
set_loggers() |
S |
71 |
2 |
6 |
cleanup_released_locks() |
S |
64 |
2 |
10 |
init_cleanup() |
S |
69 |
2 |
7 |
delete() |
S |
63 |
1 |
11 |
add_logger() |
S |
80 |
1 |
3 |
get_loggers() |
S |
82 |
1 |
3 |
get_cleanup_hook_name() |
S |
80 |
1 |
3 |